From a0731f7c06d1cd596feb122085c7c84c6481cc00 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 14 Aug 2012 01:30:52 -0700 Subject: [PATCH] * intervals.c (offset_intervals): Remove obsolete comment. --- src/ChangeLog | 4 ++++ src/intervals.c | 8 ++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index ad01e824463..cd6af8c46b3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-08-14 Paul Eggert + + * intervals.c (offset_intervals): Remove obsolete comment. + 2012-08-14 Andreas Schwab * gtkutil.c (find_rtl_image, update_frame_tool_bar): Use NILP. diff --git a/src/intervals.c b/src/intervals.c index 145882f6146..09949bbbd45 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -1366,11 +1366,7 @@ adjust_intervals_for_deletion (struct buffer *buffer, /* Make the adjustments necessary to the interval tree of BUFFER to represent an addition or deletion of LENGTH characters starting at position START. Addition or deletion is indicated by the sign - of LENGTH. - - The two inline functions (one static) pacify Sun C 5.8, a pre-C99 - compiler that does not allow calling a static function (here, - adjust_intervals_for_deletion) from a non-static inline function. */ + of LENGTH. */ void offset_intervals (struct buffer *buffer, ptrdiff_t start, ptrdiff_t length) @@ -1609,7 +1605,7 @@ graft_intervals_into_buffer (INTERVAL source, ptrdiff_t position, eassert (length == TOTAL_LENGTH (source)); if ((BUF_Z (buffer) - BUF_BEG (buffer)) == length) - { + { /* The inserted text constitutes the whole buffer, so simply copy over the interval structure. */ Lisp_Object buf; -- 2.30.2